export function subString(str, start = 0, length = 10) {
  if (typeof (str) !== 'string') return ''
  str = str.toString()
  return str.length > length ? str.substr(start, length) + '...' : str
}
